﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SQLMetalOSUIforVisualStudio
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            this.sqlMetalOSUICtrl1.OutputLineEvent += new SQLMetalOSUICtrl.OutputPipeLine(sqlMetalOSUICtrl1_OutputLineEvent);
        }

        void sqlMetalOSUICtrl1_OutputLineEvent(string results)
        {
            Console.WriteLine("*** New command " + System.DateTime.Now.ToLongTimeString());
            Console.WriteLine(results);
        }
    }
}
